import React from "react";
import "./home_module.less";

const homeTop = () => {
    const fromDate = "2022-01-01";
    const toBackend = () => {
        const w = window.open('about:blank');
        w.location.href = "/backendView/backHome"
    }
    return <div className="container-homeTop">
        <div className="homeTop-same homeTop-same-left">{fromDate}</div>
        <div className="homeTop-same homeTop-same-right" onClick={() => toBackend()}>{fromDate}</div>
    </div>;
};

export default homeTop;
